Add GitHub Copilot agent workflows for PR verification, daily code review, and issue triage#120
Open
YunchuWang wants to merge 1 commit intomainfrom
Open
Add GitHub Copilot agent workflows for PR verification, daily code review, and issue triage#120YunchuWang wants to merge 1 commit intomainfrom
YunchuWang wants to merge 1 commit intomainfrom
Conversation
…view, and issue triage Adds the following GitHub Actions copilot agent integrations, modeled after the durabletask-js repository: - PR Verification Agent: Finds PRs labeled pending-verification, creates standalone sample apps to verify fixes against the DTS emulator, posts verification evidence to linked issues, and updates PR labels. - Daily Code Review Agent: Scans the codebase daily for bugs, missing tests, and small improvements. Opens up to 1 PR per run with fixes and new tests, with deduplication against existing work. - Issue Triage Agent: Classifies, labels, routes, and maintains GitHub issues. Detects duplicates, identifies owners, and enforces hygiene. All agents are adapted for the Python SDK stack (pytest, flake8, pip, Python 3.10+) while following the same patterns and conventions established in the JavaScript SDK.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds GitHub Actions copilot agent integrations for automated PR verification, daily code review, and issue triage, modeled after the setup in durabletask-js.
What's Added
Agent Definitions (
.github/agents/)pr-verification.agent.mdpending-verification, creates standalone sample apps to verify fixes against the DTS emulator, posts verification evidence to linked issues, and updates PR labelsdaily-code-review.agent.mdissue-triage.agent.mdWorkflow Definitions (
.github/workflows/)pr-verification.yamldaily-code-review.yamlKey Adaptations for Python SDK
All agents have been adapted from durabletask-js for the Python SDK context:
pytest,flake8,pip install -e .instead of npm/Jest/ESLintexcept:,from errchaining, falsy value handling, async/await patterns)DurableTaskSchedulerClient/DurableTaskSchedulerWorker)durabletask/,durabletask-azuremanaged/,tests/)*_pb2.py,*_pb2.pyi,*_pb2_grpc.py)Security Notes
schedule/workflow_dispatchtriggers only (notpull_request) to avoid checkout of untrusted PR code--allow-all-toolsand--allow-all-pathsare safe because prompts are hardcoded and PRs require human review to mergeCOPILOT_GITHUB_TOKENsecret to be configuredPrerequisites
Before these workflows can run, the following need to be set up:
COPILOT_GITHUB_TOKENsecret must be configured in the repository settingspending-verification,sample-verification-added,copilot-finds) will be created automatically by the workflows